<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: cutlass::device_memory::allocation&lt; T &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUTLASS
   </div>
   <div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecutlass.html">cutlass</a></li><li class="navelem"><a class="el" href="namespacecutlass_1_1device__memory.html">device_memory</a></li><li class="navelem"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structcutlass_1_1device__memory_1_1allocation-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cutlass::device_memory::allocation&lt; T &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Device allocation abstraction that tracks size and capacity.  
</p>

<p><code>#include &lt;<a class="el" href="device__memory_8h_source.html">device_memory.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for cutlass::device_memory::allocation&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="structcutlass_1_1device__memory_1_1allocation__coll__graph.png" border="0" usemap="#cutlass_1_1device__memory_1_1allocation_3_01T_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="cutlass_1_1device__memory_1_1allocation_3_01T_01_4_coll__map" id="cutlass_1_1device__memory_1_1allocation_3_01T_01_4_coll__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation_1_1deleter.html">deleter</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete functor for CUDA device memory.  <a href="structcutlass_1_1device__memory_1_1allocation_1_1deleter.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a49b392100679f307f116fc0f854bad0a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a49b392100679f307f116fc0f854bad0a">allocation</a> ()</td></tr>
<tr class="memdesc:a49b392100679f307f116fc0f854bad0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor: allocates no memory.  <a href="#a49b392100679f307f116fc0f854bad0a">More...</a><br /></td></tr>
<tr class="separator:a49b392100679f307f116fc0f854bad0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87b81eac219bdc38af93cad71beab87a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a87b81eac219bdc38af93cad71beab87a">allocation</a> (size_t _capacity)</td></tr>
<tr class="memdesc:a87b81eac219bdc38af93cad71beab87a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor: allocates <code>capacity</code> elements on the current CUDA device.  <a href="#a87b81eac219bdc38af93cad71beab87a">More...</a><br /></td></tr>
<tr class="separator:a87b81eac219bdc38af93cad71beab87a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73138c905fb54cfb1556914cb6d106c7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a73138c905fb54cfb1556914cb6d106c7">allocation</a> (<a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a> const &amp;p)</td></tr>
<tr class="memdesc:a73138c905fb54cfb1556914cb6d106c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a73138c905fb54cfb1556914cb6d106c7">More...</a><br /></td></tr>
<tr class="separator:a73138c905fb54cfb1556914cb6d106c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af205dd59859566d6fab5ac3eea8de7bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#af205dd59859566d6fab5ac3eea8de7bf">~allocation</a> ()</td></tr>
<tr class="memdesc:af205dd59859566d6fab5ac3eea8de7bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#af205dd59859566d6fab5ac3eea8de7bf">More...</a><br /></td></tr>
<tr class="separator:af205dd59859566d6fab5ac3eea8de7bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86356748c671059942168502dd58684a"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a86356748c671059942168502dd58684a">get</a> () const </td></tr>
<tr class="memdesc:a86356748c671059942168502dd58684a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the managed object.  <a href="#a86356748c671059942168502dd58684a">More...</a><br /></td></tr>
<tr class="separator:a86356748c671059942168502dd58684a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a138bc02627aab06ac09c73da67f06f7a"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a138bc02627aab06ac09c73da67f06f7a">release</a> ()</td></tr>
<tr class="memdesc:a138bc02627aab06ac09c73da67f06f7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases the ownership of the managed object (without deleting) and resets capacity to zero.  <a href="#a138bc02627aab06ac09c73da67f06f7a">More...</a><br /></td></tr>
<tr class="separator:a138bc02627aab06ac09c73da67f06f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeef3a1cb8cfb96a2823e85f7fa52a31a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#aeef3a1cb8cfb96a2823e85f7fa52a31a">reset</a> ()</td></tr>
<tr class="memdesc:aeef3a1cb8cfb96a2823e85f7fa52a31a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes the managed object and resets capacity to zero.  <a href="#aeef3a1cb8cfb96a2823e85f7fa52a31a">More...</a><br /></td></tr>
<tr class="separator:aeef3a1cb8cfb96a2823e85f7fa52a31a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a325a56e50f82d0a1aa0425d3ae061405"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a325a56e50f82d0a1aa0425d3ae061405">reset</a> (T *_ptr, size_t _capacity)</td></tr>
<tr class="memdesc:a325a56e50f82d0a1aa0425d3ae061405"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes managed object, if owned, and replaces its reference with a given pointer and capacity.  <a href="#a325a56e50f82d0a1aa0425d3ae061405">More...</a><br /></td></tr>
<tr class="separator:a325a56e50f82d0a1aa0425d3ae061405"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a793e663af04f7fb81f7df710147c8fc8"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a793e663af04f7fb81f7df710147c8fc8">operator-&gt;</a> () const </td></tr>
<tr class="memdesc:a793e663af04f7fb81f7df710147c8fc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the object owned by *this.  <a href="#a793e663af04f7fb81f7df710147c8fc8">More...</a><br /></td></tr>
<tr class="separator:a793e663af04f7fb81f7df710147c8fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8066ac4f1897e4a9031fe1cfbd40b9ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcutlass_1_1device__memory_1_1allocation_1_1deleter.html">deleter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a8066ac4f1897e4a9031fe1cfbd40b9ef">get_deleter</a> ()</td></tr>
<tr class="memdesc:a8066ac4f1897e4a9031fe1cfbd40b9ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the deleter object which would be used for destruction of the managed object.  <a href="#a8066ac4f1897e4a9031fe1cfbd40b9ef">More...</a><br /></td></tr>
<tr class="separator:a8066ac4f1897e4a9031fe1cfbd40b9ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f4ac6b947801d56521e8b6eefb72c2f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structcutlass_1_1device__memory_1_1allocation_1_1deleter.html">deleter</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a9f4ac6b947801d56521e8b6eefb72c2f">get_deleter</a> () const </td></tr>
<tr class="memdesc:a9f4ac6b947801d56521e8b6eefb72c2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the deleter object which would be used for destruction of the managed object (const)  <a href="#a9f4ac6b947801d56521e8b6eefb72c2f">More...</a><br /></td></tr>
<tr class="separator:a9f4ac6b947801d56521e8b6eefb72c2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d6109a5a85d407b2e43d34766af1d85"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a3d6109a5a85d407b2e43d34766af1d85">operator=</a> (<a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a> const &amp;p)</td></tr>
<tr class="memdesc:a3d6109a5a85d407b2e43d34766af1d85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies a device-side memory allocation.  <a href="#a3d6109a5a85d407b2e43d34766af1d85">More...</a><br /></td></tr>
<tr class="separator:a3d6109a5a85d407b2e43d34766af1d85"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a81d1c8ae7ffc695ae1e6a190ebfe8bb6"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a81d1c8ae7ffc695ae1e6a190ebfe8bb6">capacity</a></td></tr>
<tr class="memdesc:a81d1c8ae7ffc695ae1e6a190ebfe8bb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of elements of T allocated on the current CUDA device.  <a href="#a81d1c8ae7ffc695ae1e6a190ebfe8bb6">More...</a><br /></td></tr>
<tr class="separator:a81d1c8ae7ffc695ae1e6a190ebfe8bb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a37fda293871522f10dad153fdf55f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcutlass_1_1platform_1_1unique__ptr.html">platform::unique_ptr</a>&lt; T, <a class="el" href="structcutlass_1_1device__memory_1_1allocation_1_1deleter.html">deleter</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html#a4a37fda293871522f10dad153fdf55f4">smart_ptr</a></td></tr>
<tr class="memdesc:a4a37fda293871522f10dad153fdf55f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Smart pointer.  <a href="#a4a37fda293871522f10dad153fdf55f4">More...</a><br /></td></tr>
<tr class="separator:a4a37fda293871522f10dad153fdf55f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a49b392100679f307f116fc0f854bad0a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::<a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a87b81eac219bdc38af93cad71beab87a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::<a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>_capacity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a73138c905fb54cfb1556914cb6d106c7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::<a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a>&lt; T &gt; const &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af205dd59859566d6fab5ac3eea8de7bf"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::~<a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a86356748c671059942168502dd58684a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T* <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::get </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8066ac4f1897e4a9031fe1cfbd40b9ef"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcutlass_1_1device__memory_1_1allocation_1_1deleter.html">deleter</a>&amp; <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::get_deleter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9f4ac6b947801d56521e8b6eefb72c2f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structcutlass_1_1device__memory_1_1allocation_1_1deleter.html">deleter</a>&amp; <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::get_deleter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a793e663af04f7fb81f7df710147c8fc8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T* <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::operator-&gt; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3d6109a5a85d407b2e43d34766af1d85"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a>&amp; <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">allocation</a>&lt; T &gt; const &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a138bc02627aab06ac09c73da67f06f7a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T* <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::release </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aeef3a1cb8cfb96a2823e85f7fa52a31a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a325a56e50f82d0a1aa0425d3ae061405"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::reset </td>
          <td>(</td>
          <td class="paramtype">T *&#160;</td>
          <td class="paramname"><em>_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>_capacity</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a81d1c8ae7ffc695ae1e6a190ebfe8bb6"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::capacity</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a4a37fda293871522f10dad153fdf55f4"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcutlass_1_1platform_1_1unique__ptr.html">platform::unique_ptr</a>&lt;T, <a class="el" href="structcutlass_1_1device__memory_1_1allocation_1_1deleter.html">deleter</a>&gt; <a class="el" href="structcutlass_1_1device__memory_1_1allocation.html">cutlass::device_memory::allocation</a>&lt; T &gt;::smart_ptr</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="device__memory_8h_source.html">device_memory.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
